﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using System.ComponentModel;

namespace PSE.Communication.Fix.Common
{
    public class ProviderConfigurationElement : BaseConfigurationElement
    {
        [ConfigurationProperty("type")]
        [TypeConverter(typeof(TypeNameConverter))]
        public System.Type Type
        {
            get
            {
                return (System.Type)this["type"];
            }
            set
            {
                this["type"] = value; ;
            }
        }

        [ConfigurationProperty("settings")]
        public KeyValueConfigurationCollection Settings
        {
            get
            {
                return (KeyValueConfigurationCollection)this["settings"];

            }
            set
            {
                this["settings"] = value;
            }
        }
    }
}
